/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ueb14.uebTree;

/**
 *
 * @author steffenschuhmann
 */
public class DialogUeb1 extends Dialog {
    
    @Override
    public void execute(int operation, String name) {
        switch(operation) {
            case 1:
                add(name);
                break;
            default:
                System.out.println("Wrong operation!\n In " + name);
                break;
        }
    }
    
    public static void main(String[] args) {
        DialogUeb1 dialog = new DialogUeb1();
        dialog.setUp();
    }
    
}
